<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
	<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<title>Accessibility</title>

	<link href="../themes/common/domButtons.css" rel="stylesheet"/>
	<script type="text/javascript" src="../deviceTheme.js" data-dojo-config="mblThemeFiles: ['base','IconContainer','TabBar','RadioButton']"></script>
	<script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="async: true, parseOnLoad: true"></script>

	<script type="text/javascript">
		require([
			"dojo/ready",
			"dijit/registry",
			"dojox/mobile/parser",
			"dojox/mobile",
			"dojox/mobile/compat",
			"dojox/mobile/IconContainer",
			"dojox/mobile/TabBar",
			"dojox/mobile/RadioButton"
		]);
	</script>

	<style>
		.box {
			border: 1px solid #A7C0E0;
			width: 300px;
			height: 250px;
			background-image: url(images/widget-bg.png);
			background-repeat: no-repeat;
			background-color: white;
		}
	</style>
</head>
<body style="visibility:hidden;">

	<div id="view1" data-dojo-type="dojox.mobile.View">
		<h1 data-dojo-type="dojox.mobile.Heading" role="heading">Mobile Mashup</h1>
		<h2 data-dojo-type="dojox.mobile.RoundRectCategory">Spaces</h2>
		<ul data-dojo-type="dojox.mobile.RoundRectList" role="list">
			<li id="item1" role="button" data-dojo-type="dojox.mobile.ListItem" data-dojo-props='icon:"images/i-icon-1.png", alt:"Orange", rightText:"Go To", rightIconTitle:"", moveTo:"view2"'>
				Heading Sample
			</li>
			<li id="item2" role="button" data-dojo-type="dojox.mobile.ListItem" data-dojo-props='icon:"images/i-icon-2.png", alt:"Green", rightText:"Go To", rightIconTitle:"", moveTo:"view3"'>
				ListItem Sample
			</li>
			<li id="item3" role="button" data-dojo-type="dojox.mobile.ListItem" data-dojo-props='icon:"images/i-icon-3.png", alt:"Blue", rightText:"Go To", rightIconTitle:"", moveTo:"view4"'>
				Icon Sample
			</li>
		</ul>
	</div>

	<div id="view2" data-dojo-type="dojox.mobile.View">
		<div data-dojo-type="dojox.mobile.Heading">
			<span id="btn1" data-dojo-type="dojox.mobile.ToolBarButton" title="Edit" role="button">Edit</span>
			<span id="btn2" data-dojo-type="dojox.mobile.ToolBarButton" data-dojo-props='icon:"mblDomButtonWhitePlus", alt:"Plus"' title="plus" role="button" style="float:right;" onclick="console.log('+ was clicked')"></span>
			World Clock
		</div><br>

		<div data-dojo-type="dojox.mobile.Heading">
			<span data-dojo-type="dojox.mobile.ToolBarButton" title="New" role="button" data-dojo-props='toggle:true'>New</span>
			<span data-dojo-type="dojox.mobile.ToolBarButton" title="Toggle" role="button" data-dojo-props='toggle:true'>Toggle</span>
			<span data-dojo-type="dojox.mobile.ToolBarButton" title="Information" role="button" data-dojo-props='alt:"Information", icon:"images/a-icon-12.png"'></span>
			<span data-dojo-type="dojox.mobile.ToolBarButton" title="Hint" role="button" data-dojo-props='alt:"Hint", icon:"images/tab-icons.png", iconPos:"29,0,29,29"'></span>
			<span data-dojo-type="dojox.mobile.ToolBarButton" title="Search" role="button" data-dojo-props='alt:"Search", icon:"mblDomButtonWhiteSearch"' style="float:right;"></span>
		</div><br>

		<div data-dojo-type="dojox.mobile.Heading">
			<ul data-dojo-type="dojox.mobile.TabBar" data-dojo-props='barType:"segmentedControl"' style="float:right;margin-right:6px;" role="tablist">
				<li data-dojo-type="dojox.mobile.TabBarButton" title="Up" role="button" data-dojo-props='icon:"mblDomButtonWhiteUpArrow", selectOne:false'></li>
				<li data-dojo-type="dojox.mobile.TabBarButton" title="Down" role="button" data-dojo-props='icon:"mblDomButtonWhiteDownArrow", selectOne:false'></li>
			</ul>
			1 of 10
		</div><br>

		<div data-dojo-type="dojox.mobile.Heading">
			<span data-dojo-type="dojox.mobile.ToolBarButton" title="Back" role="button" style="float:left;" data-dojo-props='arrow:"left", moveTo:"view1", transitionDir:-1'>Back</span>
			<span data-dojo-type="dojox.mobile.ToolBarButton" title="Search" role="button" style="float:right;" data-dojo-props='icon:"mblDomButtonWhiteSearch", alt:"Search"'></span>
			<span data-dojo-type="dojox.mobile.ToolBarButton" title="Up" role="button" style="float:right;" data-dojo-props='icon:"mblDomButtonWhiteUpArrow", alt:"Up"'></span>
			<span data-dojo-type="dojox.mobile.ToolBarButton" title="Down" role="button" style="float:right;" data-dojo-props='icon:"mblDomButtonWhiteDownArrow", alt:"Down"'></span>
		</div>
	</div>

	<div id="view3" data-dojo-type="dojox.mobile.View">
		<div data-dojo-type="dojox.mobile.Heading" role="heading">
			<span data-dojo-type="dojox.mobile.ToolBarButton" title="Back" role="button" style="float:left;" data-dojo-props='arrow:"left", moveTo:"view1", transitionDir:-1'>Back</span>
			Settings
		</div>
		<ul data-dojo-type="dojox.mobile.EdgeToEdgeList" role="list">
			<li data-dojo-type="dojox.mobile.ListItem" data-dojo-props='icon:"images/i-icon-1.png", alt:""' role="listitem">
				Airplane Mode
				<div data-dojo-type="dojox.mobile.Switch" title="switch" role="button"></div>
			</li>
			<li data-dojo-type="dojox.mobile.ListItem" data-dojo-props='icon:"images/i-icon-2.png", alt:""' role="listitem">
				Wi-Fi
				<div style="float:right;">
					<input type="radio" id="rb1" dojoType="dojox.mobile.RadioButton" value="Medium" checked><label for="rb1">On</label>
					<input type="radio" id="rb2" dojoType="dojox.mobile.RadioButton" value="Small"><label for="rb2">Off</label>		
				</div>
			</li>
			<li data-dojo-type="dojox.mobile.ListItem" data-dojo-props='icon:"images/i-icon-3.png", alt:"", rightText:"AcmePhone", moveTo:"view1"' role="button">
				Carrier
			</li>
		</ul>
	</div>

	<div id="view4" data-dojo-type="dojox.mobile.View">
		<div data-dojo-type="dojox.mobile.Heading" role="heading">
			<span data-dojo-type="dojox.mobile.ToolBarButton" title="Back" role="button" style="float:left;" data-dojo-props='arrow:"left", moveTo:"view1", transitionDir:-1'>Back</span>
			Icon Container
		</div>
		<ul data-dojo-type="dojox.mobile.IconContainer" data-dojo-props='iconItemPaneProps:{closeIconTitle:"Close", closeIconRole:"button"}' role="list">
			<li data-dojo-type="dojox.mobile.IconItem" lazy="true" data-dojo-props='label:"app1", icon:"images/icon-1.png", alt:"icon1"' role="listitem"><div class="box"></div></li>
			<li data-dojo-type="dojox.mobile.IconItem" lazy="true" data-dojo-props='label:"app2", icon:"images/icon-1.png", alt:"icon2"' role="listitem"><div class="box"></div></li>
			<li data-dojo-type="dojox.mobile.IconItem" lazy="true" data-dojo-props='label:"app3", icon:"images/icon-1.png", alt:"icon3"' role="listitem"><div class="box"></div></li>
		</ul>
	</div>

</body>
</html>
